
<?php
$DocRoot = $_SERVER['DOCUMENT_ROOT'];
include_once "$DocRoot/woflow/model/entity.php";
class OrgRoles extends Entity
{
	public function __construct($bReadOnly=false)
	{
		parent::__construct("org_roles", "roleID", $bReadOnly=false);
	}
	public function getRoleID()
	{
		return $this->roleID;

	}
	public function setRoleID($roleID)
	{
		$this->roleID = $roleID;

	}
	public function getRoleName()
	{
		return $this->roleName;

	}
	public function setRoleName($roleName)
	{
		$this->roleName = $roleName;

	}
	public function getRoleFriendlyName()
	{
		return $this->roleFriendlyName;

	}
	public function setRoleFriendlyName($roleFriendlyName)
	{
		$this->roleFriendlyName = $roleFriendlyName;

	}
	public function toJSON()
	{
		return json_decode(
			array(
				"roleID" => $this->roleID,
				"roleName" => $this->roleName,
				"roleFriendlyName" => $this->roleFriendlyName
			)
		);

	}

	private $roleID;
	private $roleName;
	private $roleFriendlyName;
}
?>
